#ifndef _CRT_BARRIER_H_
#define _CRT_BARRIER_H_

#include <crt_define.h>
#include <crt_error.h>

#ifdef	__cplusplus
extern "C" 
{
#endif

int uv_barrier_init(_barrier_t* barrier, unsigned int count);
void uv_barrier_destroy(_barrier_t* barrier);
int uv_barrier_wait(_barrier_t* barrier);

#ifdef	__cplusplus
}
#endif

#endif


